<%--
  Created by IntelliJ IDEA.
  User: taohj
  Date: 2014/6/29
  Time: 18:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="menu" value="none" scope="request"></c:set>
<c:set var="dashboardMenuTag" value="myorg" scope="request"></c:set>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://"
            + request.getServerName() + ":" + request.getServerPort()
            + path + "/";
%>
<!Doctype html>
<html>
<head>
    <base href="<%=basePath%>">
    <title>政府数据开放平台</title>
    <style>
        .uploadTable tbody tr td:first-child {
            text-align: right;
        }
    </style>
    <jsp:include page="../../commons/include.jsp"/>
</head>
<body>


<jsp:include page="../../commons/top.jsp"/>
<div class="main">

    <jsp:include page="../../commons/dashboardMenu.jsp"/>


    <div class="left">
        <c:set var="leftMenu" value="org" scope="request"></c:set>
        <jsp:include page="commons/leftMenu.jsp"/>
    </div>

    <div  class="right">
        <div style="padding-top: 60px;padding-left: 80px;"><span style="font-size: 20px;font-weight: bold;">新增机构</span></div>

        <div >
            <div>
                <form method="post" action="/front/my/org/create" enctype="multipart/form-data">
                    <table class="updateTable">
                        <tr>
                            <td width="100">名称：</td>
                            <td width="200"><input type="text" name="name"></td>
                        </tr>
                        <tr>
                            <td>上级机构:</td>
                            <td>
                                <select name="superOrg" dataSync='true' syncType='org'> </select>
                            </td>
                        </tr>
                        <tr>
                            <td>图片:</td>
                            <td><input name="image" type="file" class="form-control"></td>
                        </tr>

                        <tr>
                            <td>机构分类:</td>
                            <td>
                                <select name='category' dataSync='true' syncType='dictionary'
                                        dictionaryType='ORG_CATEGORY'></select>
                            </td>
                        </tr>
                        <tr>
                            <td>联系人:</td>
                            <td><input type="text" name="contacts"></td>
                        </tr>

                        <tr>
                            <td>电话:</td>
                            <td><input type="text" name="telephone"></td>
                        </tr>

                        <tr>
                            <td>电子邮箱:</td>
                            <td><input type="text" name="email"></td>
                        </tr>

                        <tr>
                            <td>地址:</td>
                            <td><input type="text" name="address"></td>
                        </tr>

                        <tr>
                            <td>邮编:</td>
                            <td><input type="text" name="postcode"></td>
                        </tr>


                        <tr>
                            <td>简介:</td>
                            <td><textarea name="description"></textarea></td>
                        </tr>


                        <tr>
                            <td colspan="2" style="height: 40px">
                                <input type="submit" class="btn btn-primary" value="提&nbsp;&nbsp;交">
                            </td>
                        </tr>

                    </table>
                </form>
            </div>
        </div>

    </div>


</div>
<jsp:include page="../../commons/buttom.jsp"/>
</body>
</html>
